package com.xdw.vuebackdemo.service;


import com.xdw.vuebackdemo.model.User;
/**
 * @author xiadewang
 */

public interface UserService {
    User login(String username,String password);
    boolean checkToken(long userid,String token);
    boolean checkToken(long userid,String token,String clientType);
    User getUserByUserid(long userid);
}
